@extends('layout.home')

@section('title')
	<title>对不起，您要访问的页面暂时没有找到 - VANCL凡客诚品</title>
	 <link href="http://cssx.vanclimg.com/404/404.css?20120316" rel="stylesheet" type="text/css" />

@endsection

@section('content')
    
    
    <div class="sls">
        <h1>
            商品或页面没有找到！哎呀！去哪啦！</h1>
        <p>
            去这看看：<span class="return"><a href="/" style="color: #fff; text-decoration: none;">返回首页</a></span>
            <span class="contact"><a href="http://q.vancl.com/group/52814784" style="color: #484949;
                text-decoration: none;">联系客服</a></span></p>
        <div class="time">
            <span class="qian" id="sec">5</span>秒后自动转入首页</div>
    </div>

    
<script type="text/javascript">
     function clearCookie(cookieName) {
        var date = new Date();
        date.setTime(date.getTime() - 1);
        var cookie = cookieName + "=; path=/; domain=vanclimg.com";
        cookie += "; expires=" + date.toGMTString();
        document.cookie = cookie;
    }

    function lazyGo() {
        var sec = $("#sec").text();
        $("#sec").text(--sec);
        if (sec > 0)
            setTimeout("lazyGo();", 1000);
        else
            window.location.href = "/";
    }

    $(function () {
        $("img[original]").lazyload();
        var cookies = document.cookie.split(';');
        for (i = 0; i < cookies.length; i++) {
            var tempCookie = cookies[i];
            if (tempCookie != "") {
                var cookieName = tempCookie.substr(0, tempCookie.indexOf('='));
                clearCookie(cookieName);
            }
        }
        setTimeout("lazyGo();", 3000);
    });
 </script>
@endsection
